Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply UnnecessarySemicolonInEnumeration Checkstyle module #408

Closed

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Mar 23, 2024

This PR applies the UnnecessarySemicolonInEnumeration Checkstyle module.

This PR also applies it to this project itself and fixes its violations.

See spring-projects/spring-framework#32514 and spring-projects/spring-boot@9cdd0c3

@philwebb philwebb added this to the 0.0.42 milestone Mar 25, 2024
@@ -113,6 +113,7 @@
<module name="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck" />
<module name="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck" />
<module name="com.puppycrawl.tools.checkstyle.checks.OuterTypeFilenameCheck" />
<module name="UnnecessarySemicolonInEnumeration"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for when we merge this: for consistency, the name should be fully-qualified:

com.puppycrawl.tools.checkstyle.checks.coding.UnnecessarySemicolonInEnumerationCheck

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wilkinsona Thanks! I updated it as you suggested.

This commit also applies it to this project itself and fixes its violations.
@izeye izeye force-pushed the UnnecessarySemicolonInEnumeration branch from a62f004 to a52923f Compare March 28, 2024 00:05
@wilkinsona wilkinsona self-assigned this Mar 28, 2024
wilkinsona pushed a commit that referenced this pull request Mar 28, 2024
This commit also applies it to this project itself and fixes its violations.

See gh-408
@izeye izeye deleted the UnnecessarySemicolonInEnumeration branch March 28, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants